package org.darkforest.common.services;

import org.darkforest.model.PBoothGoods;
import org.darkforest.vo.AjaxReturnData;

/**
 * Created by Libing on 2015/7/28.
 */
public interface BoothGoodsService {
    /**
     * 添加推荐展位商品
     * @param goods_id
     * @param storeId
     * @return
     */
    AjaxReturnData addRecommondGoods(Integer goods_id, Integer recommondType, Integer sort, Integer storeId) throws Exception;


    PBoothGoods selectRecommondGoodsByPage(PBoothGoods pBoothGoods);


    boolean  updateByPrimaryKeySelective(PBoothGoods record);




    /**
     * 根据主键删除推荐展位商品
     * @param gid
     * @return
     */
    AjaxReturnData  delRecommondGoods(Integer gid);

    /**
     * 管理员审核推荐商品
     * @param recommendId 推荐ID
     * @param verifyType 1 通过 2 不通过
     * @param reason
     * @return
     */
    AjaxReturnData verifyRecommendGoods(Integer recommendId, Integer verifyType, String reason) throws Exception;
}
